/**
 * hnjz.com Inc.
 * Copyright (c) 2004-2013 All Rights Reserved.
 */
package com.hnjz.common.security.domain;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 操作
 * 
 * @author wumi
 * @version $Id: Oper.java, v 0.1 Feb 5, 2013 9:37:39 AM wumi Exp $
 */
public class Oper {

    /**操作名称*/
    private String name;
    /**点击事件*/
    private String function;
    /**是否在类表中显示*/
    private String fashion;

    public Oper() {
    }

    public Oper(String name, String function, String fashion) {
        super();
        this.name = name;
        this.function = function;
        this.fashion = fashion;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public String getFashion() {
        return fashion;
    }

    public void setFashion(String fashion) {
        this.fashion = fashion;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

}
